<?php
session_start();
require_once('../check_login.php');
require_once('users_lib.php');

$username=$_POST['username'];
$user=get_user_detail_by_name($username);
if(isset($user['id']) &&$user['id']!=''){
die('false');
}
else{
die('true');
}

//die;
?>